<div id="mainmenu_tab">
        
    <ul>
        <li><a href="#menu_new"><span><?php echo $this->document->text['text_new']?></span></a></li>
        <li><a href="#menu_category"><span><?php echo $this->document->text['text_category']?></span></a></li>
        <li><a href="#menu_search"><span><?php echo $this->document->text['text_search']?></span></a></li>       
        <li><a href="#menu_report"><span><?php echo $this->document->text['text_report']?></span></a></li>
        <!--<li><a href="#menu_system"><span>SYSTEM</span></a></li>-->
        <li><a href="#menu_help"><span><?php echo $this->document->text['text_help']?></span></a></li>
    </ul>
 
    <div id="menu_new">
    	<center>
        <table class="table_button" align="center">
            <tr>
                <td>
                    <a href="index.php?route=voucher/purchase" class="menu-button button-blue"><?php echo $this->document->text['text_purchaseorder']?></a>
                </td>
                <td><a href="index.php?route=voucher/saleorder" class="menu-button button-green"><?php echo $this->document->text['text_saleorder']?></a></td>
                
                <td><a href="index.php?route=voucher/voucher/expense" class="menu-button button-orange"><?php echo $this->document->text['text_expensevoucher']?></a></td>
            </tr>
            <tr>
                <td><a  href="index.php?route=voucher/returnsupplier" class="menu-button button-gray"><?php echo $this->document->text['text_returnproducttosupplier']?></a></td>
                <td><a href="index.php?route=voucher/customerreturn" class="menu-button button-red"><?php echo $this->document->text['text_customerreturnproduct']?></a></td>
                
                <td><a href="index.php?route=voucher/voucher/income" class="menu-button button-orange"><?php echo $this->document->text['text_incomevoucher']?></a></td>
            </tr>
        </table>  
        </center>          
    </div>
    
    <div id="menu_category">
    	<center>
        <table class="table_button">
            <tr>
                <td>
                    <a href="index.php?route=category/customer" class="menu-button button-green"><?php echo $this->document->text['text_customerbrlist']?></a>
                </td>
                <td><a href="index.php?route=category/productbrand" class="menu-button button-blue"><?php echo $this->document->text['text_productbrbrands']?></a></td>
                <td><a href="index.php?route=category/product" class="menu-button button-red"><?php echo $this->document->text['text_producbrlist']?></a></td>
                <td><a href="index.php?route=core/user" class="menu-button button-green"><?php echo $this->document->text['text_staffbrlist']?></a></td>
            </tr>
            <tr>
                <td><a href="index.php?route=category/supplier" class="menu-button button-green"><?php echo $this->document->text['text_supplierbrlist']?></a></td>
                <td><a href="index.php?route=category/productgroup" class="menu-button button-blue"><?php echo $this->document->text['text_productbrgroup']?></a></td>
                <td><a href="index.php?route=category/stock" class="menu-button button-gray"><?php echo $this->document->text['text_stockbrlist']?></a></td>
                <td>&nbsp;</td>
            </tr>
        </table>
        </center>
    </div>
    
    <div id="menu_search">
    	<center>
        <table class="table_button">
            <tr>
                <td>
                    <a href="index.php?route=voucher/search/order" class="menu-button button-blue"><?php echo $this->document->text['text_searchbrorder']?></a>
                </td>
                <td><a href="index.php?route=voucher/search/voucher" class="menu-button button-green"><?php echo $this->document->text['text_searchbrvoucher']?></a></td>
            </tr>
        </table> 
        </center>    
    </div>
	
	<div id="menu_inventory">
        Inventory
    </div>
    
    <div id="menu_report">
        <div class="col2 left">
			<h2><?php echo $this->document->text['text_debt']?></h2>
			<ul class="home-list">
				<li><a class="menulink" href="index.php?route=report/service/debt&type=customer"><?php echo $this->document->text['text_debtofcustomer']?></a></li>
				<li><a class="menulink" href="index.php?route=report/service/debt&type=supplier"><?php echo $this->document->text['text_debtofsupplier']?></a></li>
				<li><a class="menulink" href="index.php?route=report/service/debt&type=employee"><?php echo $this->document->text['text_debtofemployee']?></a></li>
			</ul>
			<h2><?php echo $this->document->text['text_inventory']?></h2>
			<ul class="home-list">
				<li><a class="menulink" href="index.php?route=report/inventory/brands"><?php echo $this->document->text['text_inventorybybrands']?></a></li>
				<li><a class="menulink" href="index.php?route=report/inventory/groups"><?php echo $this->document->text['text_inventorybyproductgroup']?></a></li>
				<li><a class="menulink" href="index.php?route=report/inventory/stocks"><?php echo $this->document->text['text_inventorybystock']?></a></li>
				<li><a class="menulink" href="index.php?route=report/inventory/outstock"><?php echo $this->document->text['text_notifyoutofstock']?></a></li>
			</ul>
			
		</div>
		<div class="col2 right">
			<h2><?php echo $this->document->text['text_accounting']?></h2>
			<ul class="home-list">
				<li><a class="menulink" href="index.php?route=report/accounting/ledger"><?php echo $this->document->text['text_accountingledger']?></a></li>
				<li><a class="menulink" href="index.php?route=report/accounting/bussinessresult"><?php echo $this->document->text['text_bussunessresult']?></a></li>
			</ul>
			<h2 style="display:none"><?php echo $this->document->text['text_profit']?></h2>
			<ul class="home-list" style="display:none">
				<li><a class="menulink" href="index.php?route=report/service/debt&type=customer"><?php echo $this->document->text['text_profitbyorder']?></a></li>
				<li><a class="menulink" href="index.php?route=report/service/debt&type=customer"><?php echo $this->document->text['text_profitbycustomerlocation']?></a></li>
				<li><a class="menulink" href="index.php?route=report/service/debt&type=supplier"><?php echo $this->document->text['text_profitbycustomer']?></a></li>
				<li><a class="menulink" href="index.php?route=report/service/debt&type=employee"><?php echo $this->document->text['text_profitbybrands']?></a></li>
			</ul>
		</div>
		<div class="clearer">&nbsp;</div>
    </div>
    
    
    
    <div id="menu_system">
        system
    </div>
    
    <div id="menu_help">
        HELP
    </div>                
    
</div>

<script src="view/skin2/js/jquery.tabs.pack.js" type="text/javascript"></script>
<script language="javascript">
$(document).ready(function() { 
	$('#mainmenu_tab').tabs({ fxSlide: true, fxFade: true, fxSpeed: 'fast' });
	
	var height = $(document).height() - 100;
	var width = $(document).width() - 100;
	
	$('.menu-button').popupWindow({ 
	height:height, 
	width:width, 
	centerScreen:1,
	scrollbars: 1,
	resizable : 1,
	status: 0,
	location: 0
	}); 
	
	$('.menulink').popupWindow({ 
	height:height, 
	width:width, 
	centerScreen:1,
	scrollbars: 1,
	resizable : 1,
	status: 0,
	location: 0
	}); 
	
});

</script>

<!--<div class="section">

	<div class="section-title">
    	Welcome to Product Managemt Software
    </div>
    
    <div class="section-content">
    	<img src="view/skin2/image/softbanner.jpg"  />
    </div>

</div>-->